package com.ed100.sass.patter.flyweight;

public class Client {

	public static void main(String[] args) {
		FlyWeightFactory factory = new FlyWeightFactory();

		FlyWeight fly1 = factory.factory(new Character('a'));
		fly1.operation("First Call");
		
		FlyWeight fly2 = factory.factory(new Character('b'));
		fly2.operation("Second Call");

		FlyWeight fly3 = factory.factory(new Character('a'));
		fly3.operation("Third Call");
	}

}
